
{{#each projList}}

    {{#if projAvailabel}}
        <tr {{#if redAvailabel}} class="alert-danger"{{/if}}>

            <td class="sid">{{projId}}</td>

            <td>{{projNbrFmt}}</td>

            <td>{{projNam}}</td>

            <td>{{projStsFmt}}</td>

            <td>

                <a href="proj_view.html?id={{projId}}"  class="btn mini green"><i class="icon-eye-open"></i> 查看</a>

                {{#if editAvailabel}}
                    <a class="edit btn mini purple" href="proj_edit.html?id={{projId}}"><i class="icon-edit"></i> 编辑</a>
                {{/if}}

                {{#if endAvailabel}}
                    <a href="#modal-container-end" role="button" class="proEnd btn mini blue" data-toggle="modal"><i class="icon-eye-close"></i> 截标</a>
                {{/if}}

                {{#if viewsupAvailabel}}
                    <a href="proj_bid_list.html?id={{projId}}"  class="btn mini green"><i class="icon-eye-open"></i> 查看投标供应商</a>
                {{/if}}

                {{#if scrapAvailabel}}
                    <a href="#modal-container-scrap" role="button" class="scrap btn mini red" data-toggle="modal"><i class="icon-cut"></i> 废标</a>
                {{/if}}

                {{#if setAvailabel}}
                    <a class="btn mini blue setQuote" href="proj_set.html?id={{projId}}" ><i class="icon-gift"></i> 定标</a>
                {{/if}}

                {{#if viewsetAvailabel}}
                    <a href="proj_result.html?id={{projId}}"  class="btn mini purple"><i class="icon-eye-open"></i> 查看定标结果</a>
                {{/if}}

                {{#if delAvailabel}}
                    <a class="delete btn mini black" href="javascript:;"><i class="icon-trash"></i> 删除</a>
                {{/if}}

                {{#if pubAvailabel}}
                    <a href="#shareProject" role="button" class="btn mini blue btn-warning sharePro" data-toggle="modal"><i class="icon-share"></i> 发布公告</a>
                {{/if}}

                {{#if pubresAvailabel}}
                    <a href="#shareProject" role="button" class="btn mini blue btn-warning shareProResult" data-toggle="modal"><i class="icon-share"></i> 发布结果</a>
                {{/if}}

            </td>

        </tr>

    {{/if}}

{{/each}}
